<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
 <jsp:useBean id="ser" class="com.gec.domain.User"></jsp:useBean>
 <jsp:setProperty property="username" name="ser" value="年ho"/>
 <jsp:getProperty property="username" name="ser"/>
<!-- property是Java属性，name是userBean的id的值，value是存值，set。get与userBean连用，就像forward与param连用 -->
</body>
</html>